<?php if (!defined('__TYPECHO_ROOT_DIR__')) {
    exit;
}
?>
<?php $this->need('header.php'); ?>
<?php if( $this->categories[0]['name']=='技术'):?>
<style>
    .post_content{
        letter-spacing:0;
    }
</style>
<?php endif; ?>
<?php if (equipment() == 1) : ?>

<?php else : ?>
    <style>
        .phone_post_category {
            background-color: white;
        }

        .post_title {
            background-color: white;
            padding-top: 3em;
        }

        .post_content {
            background-color: white;
        }

        .cc-say {
            background: #fff4f3;
            color: #f58e85;
        }

        h2 {
            margin-block-start: -0.83em;
        }
    </style>
<?php endif; ?>
<div class="banner">
    <div class="banner-wrapper">
        <a style="background-image:url('https://blog.satri.cn/usr/uploads/common-bg.jpg')">
        </a>
    </div>
</div>
<div class="phone_post_category">
    <a><?php echo $this->categories[0]['name']; ?></a>
</div>
<div class="post_title">
    <h2><a><?php $this->title() ?></a>
    </h2>
    <span class="post_views"><?php $this->date(); ?></span>
    <span class="post_comment"><?php echo '字数：';
                                echo $this->charactersNum(); //$this->commentsNum('%d');
                                ?></span>
</div>
<div class="post_content">
    <div><?php $this->content(); ?></div>
</div>
<div class="cc-say">
    本文著作权归作者 [&nbsp;<span>海神与明月</span>&nbsp;]享有，未经作者书面授权，禁止以任何目的、任何形式转载，本声明具有法律效力，作者保留法律范围内的一切权利。
</div>
<?php $this->need('comments.php'); ?>

<ul class="post-near">
    <!--<li>上一篇: <?php //$this->thePrev('%s', '没有了');
                    ?></li>-->
    <!--<li>下一篇: <?php //$this->theNext('%s', '没有了');
                    ?>></li>-->
</ul>
<?php //$this->need('sidebar.php');
?>
<?php $this->need('footer.php'); ?>